import android.content.Context
import android.content.Intent

inline fun <reified T> getType() = T::class.java
inline fun <reified T> startActivity(context: Context,block:Intent.() -> Unit) {
    var intent = Intent(context, T::class.java)
    intent.block()
    context.startActivity(intent)
}